projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0024358
)
inspector: Really show the selected CSS node
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 4 Nov 2015 04:55:50 +0000
(23:55 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 4 Nov 2015 04:55:50 +0000
(23:55 -0500)
Try harder to scroll the selected CSS node into view.
gtk/inspector/css-node-tree.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/css-node-tree.c
b/gtk/inspector/css-node-tree.c
index 0ae5632487b9957c12d5a7fb8f878dc19d37ddf7..5c6fc175e9a033b2fe98415d4192358e918db676 100644
(file)
--- a/
gtk/inspector/css-node-tree.c
+++ b/
gtk/inspector/css-node-tree.c
@@
-366,7
+366,7
@@
gtk_inspector_css_node_tree_set_object (GtkInspectorCssNodeTree *cnt,
gtk_tree_view_expand_to_path (GTK_TREE_VIEW (priv->node_tree), path);
gtk_tree_view_set_cursor (GTK_TREE_VIEW (priv->node_tree), path, NULL, FALSE);
- gtk_tree_view_scroll_to_cell (GTK_TREE_VIEW (priv->node_tree), path, NULL,
FALSE, 0.0
, 0.0);
+ gtk_tree_view_scroll_to_cell (GTK_TREE_VIEW (priv->node_tree), path, NULL,
TRUE, 0.5
, 0.0);
gtk_tree_path_free (path);
}